<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="zh-CN">
<head>
	<meta charset="UTF-8">
	<title><?php echo ('[title]' == '['.'title'.']' ? C('WEBSITE_NAME') : '[title]');?></title>
	<meta name="viewport" content="initial-scale=1, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
    <meta content="yes" name="apple-mobile-web-app-capable">
	<meta content="red" name="apple-mobile-web-app-status-bar-style">
	<meta name="format-detection" content="telphone=no">
	<link rel="stylesheet" href="/css/mall.css?modify=20161024">
	<link rel="stylesheet" href="/css/trade.css?modify=20161024">
	<link rel="stylesheet" href="/css/red.css">
	<script type="text/javascript">
	var require = {
		baseUrl: '/js',
		waitSeconds: 0,
		map: {
		  '*': {
			'css': '//cdn.bootcss.com/require-css/0.1.8/css.min.js',
			'text': '//cdn.bootcss.com/require-text/2.0.12/text.min.js'
		  }
		},
		shim: {
			swiper: ['jquery', 'css!//cdn.bootcss.com/Swiper/3.3.1/css/swiper.min.css'],
			lazyload: ['jquery'],
		},
		paths: {
            'jquery': '//cdn.bootcss.com/jquery/1.12.4/jquery.min',
			'template': 'template',
			'validatejs': '//cdn.bootcss.com/jquery-validate/1.15.0/jquery.validate.min',
			'weixinjs': 'https://res.wx.qq.com/open/js/jweixin-1.0.0',
			'lazyload': '//cdn.bootcss.com/jquery.lazyload/1.9.1/jquery.lazyload.min',
			'swiper': '//cdn.bootcss.com/Swiper/3.3.1/js/swiper.min',

			'mall/cart': 'h5.js?modify=20161024',
			'view/order/list': 'h5.js?modify=20161024',
			'view/balance': 'h5.js?modify=20161024',
			'module/cart/num': 'h5.js?modify=20161024',
			'order/address': 'h5.js?modify=20161024',
			'pay': 'h5.js?modify=20161024',
			'view/personal/edit': 'h5.js?modify=20161024',
			'view/personal/scoreDetail': 'h5.js?modify=20161024',
			'view/present/list': 'h5.js?modify=20161024',
			'view/score': 'h5.js?modify=20161024',
			'pay/express': 'h5.js?modify=20161024',
			'jsweixin': 'h5.js?modify=20161024',
			'skumodal': 'h5.js?modify=20161024',
			'customer_service': 'h5.js?modify=20161024',
			'order/refund': 'h5.js?modify=20161024',
			'model_pay_coupon': 'h5.js?modify=20161024',
			'login_modal': 'h5.js?modify=20161024',
			'member/collection': 'h5.js?modify=20161024',
            'pullfresh': 'h5.js?modify=20161024',
            'goods_list': 'h5.js?modify=20161024',
          	'search': 'h5.js?modify=20161024',
		}
	}
	</script>
	<?php if(IS_APP): ?><script type="text/javascript" src="/js/appcan.min.js"></script><?php endif; ?>
	<script data-main="/js/h5.js?modify=20161024" src="//cdn.bootcss.com/require.js/2.3.1/require.min.js"></script>
	<?php if(!APP_DEBUG){ require_once 'cs.php';echo '<img src="'._cnzzTrackPageView(1259294058).'" width="0" height="0" style="display:none;"/>'; } ?>
<link rel="stylesheet" href="/css/cart.css?modify=20160913">
</head>
<body class="body-fixed-bottom">
	<div class="container">
		<div class="content clearfix js-page-content">
			<div id="cart-container" class="cart-container"></div>
			<div class="js-cart-bottom bottom-fix" style="padding:0;display:none">
				<div class="bottom-cart clear-fix js-cart-bottom">
					<div class="select-all checked js-select-all">
						<span class="check checked"></span>全选
					</div>
					<div class="total-price js-total-price">合计：0元</div>
					<button class="btn-go-pay btn btn-red js-go-pay" disabled="disabled">结算(0)</button>
				</div>
			</div>
		</div>
		<div class="js-footer footer">
	<div class="copyright">
		<div class="ft-links">
			<a href="/h5/mall" target="_blank">商城主页</a>
			<a href="/h5/list" target="_blank">全部商品</a>
			<a href="/h5/personal" target="_blank">会员中心</a>
			<a href="/h5/cart" target="_blank">购物车</a>
		</div>
		<a class="ft-copyright" target="_blank">
			<span class="company hide">兴业宝提供技术支持</span>
		</a>
	</div>
</div>
	</div>
</body>
<script type="text/javascript">
requirejs(['mall/cart'], function(cart){
	cart.init(<?php echo ($jsonList); ?>);
});
</script>
</html>